Updated SQL in entities-json.php to work against H3 structure.