replace trait variable without json_encode and json_decode value
Merge pull request #31 from qpautrat/bug/json_string

replace trait variable without json_encode and json_decode value 
closes #30