added json string formatting for algorithm, ratio blocks, improved ranking of stocks (only unique) and added ratio models