added return JSON
added require json