Use JSON extension in routes