fixed 2 json errors that prevented hooks, classes and constants from autocomplete, added metadata file