async getMetadataById (id) {
    logger.debug('Get metadata info, id', id)
    let result = await db('metadatas').where('id', id).select('*').first()
    logger.debug('Got result', result)

    if (!result) return null

    result = await this._processMetadataList([result])
    result = result[0]

    return result
  }
Get metadata info by id

@param {Int} id metadata id

@returns {Object} metadata info