Auto calculate ppi from json

Easier/faster develope devices list, related to #11