building map JSON for abstraction and prettiness