getFormat can be checked against the const defined in WikiaResponse::FORMAT_JSON instead of substr