Added function to create character marker, added log message to display JSON