added endpoint and proxy for json serialization