add a more readable custom properties array, close #346
Merge local branch that fix #346