Replace dictionary keys with string to avoid xmlrpclib exception wih some functions like get_external_id, price_get, get_product_available and also handling None results as reported in lp:1249355
Replace dictionary keys with string to avoid xmlrpclib exception wih some functions like get_external_id, price_get, get_product_available and also handling None results as reported in lp:1249355
[FIX] Fixes lp1260743: empty lines are not printed.
    Extra formatting improvement keeps this fix in line with proposed
    merge on standard openerp branch, to prevent conflict when/if merge
    on standard accepted.
[FIX] Replace dictionary keys with string to avoid xmlrpclib exception
[FIX] empty lines are not printed