add toArray
Merge pull request #15 from yyolk/feature-bootstrapTemplate

add toArray