Refactor JobMetadata resource: rename to filemetadata and move query in the code. CAF-233