MetaData - split _decode_json into two subs