support booleans in MapJSONFormat, backort of #643