refactoring to prepare for json api
config order of props