finally finalizing mymoments json functionality