Update Documentation page, improve function toJSONAttribute and Base Model URL function