enforce namespace of api responds in json only