Added a new function to process boolean value to 'true' or 'false' string, so the value is compliance with JSON data.