Fixed bug on Metadata-Json event (json object was not valid).