update json serializer to support long, bool and unicode types