added json metadata post method