optimize objects json rendering
using cache for saving current map