map json in app file. nick should implement