api: fixed return structure of validate metadata
Merge pull request #400 from teharrison/develop

api: fixed return structure of validate metadata