json dump has spec now