maha | modified form resource to accept json samples