fixing byline
removing JSON dependency, replacing string.replace with split & join to avoid special chars problem