'key' column value should get from the config variable
replace 'key' to config_item('rest_key_column')
Merge pull request #216 from shiroamada/master

replace 'key' to config_item('rest_key_column')