Add JSON support for require statments.