fixed :state => :status; fixed returning bean instead of json