adding json serialization post