expands plot json on client side